package anji.plus.system.mark.service.impl;

import anji.plus.system.mark.base.BaseServiceImpl;
import anji.plus.system.mark.domain.SysUser;
import anji.plus.system.mark.mapper.SysUserMapper;
import anji.plus.system.mark.service.ISysUserService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;





/**
 * <p>
 * 系统用户表 服务实现类
 * </p>
 *
 * @author luwei
 * @since 2023-11-08
 */
@Service
public class SysUserServiceImpl extends BaseServiceImpl<SysUserMapper, SysUser> implements ISysUserService {

    @Resource
    private SysUserMapper sysUserMapper;

    @Override
    public List<SysUser> queryUserList(String departNum) {
        return sysUserMapper.queryUserList(departNum);
    }

    @Override
    public SysUser login(String account, String password) {

        return sysUserMapper.login(account, password);

    }


    @Override
    public SysUser userUpdate(String account,String name, String userId) {

        return sysUserMapper.userUpdate(account, name, userId);

    }

    @Override
    public String queryUserScore(String name) {
        return null;
    }

    @Override
    public SysUser queryUserInfo(String name) {
        return sysUserMapper.queryUserInfo(name);
    }



}
